import QtQuick 1.0

Item {
    id: delegate
    height: column.height + 40
    width: 300
    // delegate.ListView.view.width
    Column {
        id: column
        x: 20; y: 20
        width: parent.width - 40
        Rectangle { color: "white"; width: 270; height: 50
            Text {
                id: day_of_weekText
                text: feedModel4.get(2).day_of_week; width: parent.width; wrapMode: Text.WordWrap
                font { bold: true; family: "Helvetica"; pointSize: 12 }
            }
        }
        Column {
            spacing: 2


            Rectangle {
                color: "white"; width: 300; height: 50
                Text {
                    id: conditionText
                    text: "Forecasts:"+feedModel4.get(2).condition; width: parent.width; wrapMode: Text.WordWrap
                    font { bold: true; family: "Helvetica"; pointSize: 8 }
                }
            }

            Rectangle { color: "white"; width: 270; height: 50
                Text {
                    id: highTemperatureText
                    width: parent.width; text: "High Temperature:"+feedModel4.get(2).high+" c"
                    wrapMode: Text.WordWrap; font.family: "Helvetica"
                }
            }
            Rectangle { color: "white"; width: 270;height: 20
                Text {
                    id: lowTemperatureText
                    width: parent.width; text: "low Temperature:"+feedModel4.get(2).low +" c"
                    wrapMode: Text.WordWrap; font.family: "Helvetica"
                }
            }
            Rectangle { color: "white"; width: 270;height: 10
            }
            Image {
                id: weatherimg
                source: "http://www.google.co.uk/"+feedModel4.get(2).icon;
                width: 90;height: 90

            }

        }





    }


}
